<?php

use Illuminate\Routing\Router;

Route::group([
    'prefix' => 'admin/userGrowth',
    'namespace' => 'Frieza\\Modules\\UserGrowth\\Controllers',
    'middleware' => [
        'web',
        'admin'
    ],
], function (Router $router) {
    $router->get('/lottery', 'LotteryController@index');
    $router->get('/lottery/create', 'LotteryController@create');
    $router->get('/lottery/{id}/edit', 'LotteryController@create');
    $router->post('/lottery/save', 'LotteryController@save');
});
